-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to disable version validation to downgrade clusters #5272
Conversation
What about |
Sounds good to me. I changed it. |
I just retested on a new 8.0 snapshot and the |
This reverts commit 5543b12.
I removed the instructions requiring the additional suspend step which is no longer necessary. I am still trying to understand what has changed in Elasticsearch but I guess it makes ECK users' life easier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…tic#5272) Adds support for a new annotation called k8s.eck.elastic.co/disable-downgrade-validation as a troubleshooting tool to allow users that accidentally upgraded to the incorrect version to correct this mistake and go back to the previous version as long as Elasticsearch has not booted up and converted the data directory. This can be the case if the user upgraded to a version of Elasticsearch that does not exist or that refuses to boot because it is not on the upgrade path from the current version.
… (#5280) Adds support for a new annotation called k8s.eck.elastic.co/disable-downgrade-validation as a troubleshooting tool to allow users that accidentally upgraded to the incorrect version to correct this mistake and go back to the previous version as long as Elasticsearch has not booted up and converted the data directory. This can be the case if the user upgraded to a version of Elasticsearch that does not exist or that refuses to boot because it is not on the upgrade path from the current version.
…tic#5272) Adds support for a new annotation called k8s.eck.elastic.co/disable-downgrade-validation as a troubleshooting tool to allow users that accidentally upgraded to the incorrect version to correct this mistake and go back to the previous version as long as Elasticsearch has not booted up and converted the data directory. This can be the case if the user upgraded to a version of Elasticsearch that does not exist or that refuses to boot because it is not on the upgrade path from the current version.
Fixes #5259
I tried to go with a different name for the annotation
permissive-version-validation
, but I am not happy yet because we are not permissive on all version validations only on the one that prevents downgrades. So maybe we should go back to the proposal in the original issue.This is intended as a troubleshooting tool so I am going to only document it in the troubleshooting section.
I am currently aware of two use cases:
In both cases it should suffice to set the annotation and revert to the previous Elasticsearch version will get the user back into a working state.